CC = iccavr
LIB = ilibw
CFLAGS =  -e -D__ICC_VERSION=722 -DATMega16  -l -g -MLongJump -MHasMul -MEnhanced 
ASFLAGS = $(CFLAGS) 
LFLAGS =  -g -e:0x4000 -ucrtatmega.o -bfunc_lit:0x54.0x4000 -dram_end:0x45f -bdata:0x60.0x45f -dhwstk_size:30 -beeprom:0.512 -fihx_coff -S2
FILES = 1324.o usart.o delay.o 

234325:	$(FILES)
	$(CC) -o 234325 $(LFLAGS) @234325.lk   -lcatmega
1324.o: D:\iccavr\include\iom16v.h D:\iccavr\include\macros.h D:\iccavr\include\AVRdef.h
1324.o:	1324.c
	$(CC) -c $(CFLAGS) 1324.c
usart.o: .\usart.h D:\iccavr\include\iom16v.h D:\iccavr\include\macros.h D:\iccavr\include\AVRdef.h .\delay.h
usart.o:	usart.c
	$(CC) -c $(CFLAGS) usart.c
delay.o: .\delay.h
delay.o:	delay.c
	$(CC) -c $(CFLAGS) delay.c
